﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.ModelBinding;
using System.Web.UI;
using System.Web.UI.WebControls;
using Box.BL;
using Box.Entities;
using Microsoft.Practices.Unity;

namespace WEB
{
    public partial class frmListPagos : System.Web.UI.Page
    {
        [Dependency]
        public IPagosBL pagosBl { get; set; }
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        public IEnumerable<Pagos> GetPagos([Control("txtCriterio")] string criterio)
        {
            return pagosBl.GetFromPagosByCriterio(criterio);
        }
    }
}